package com.itheima.tlias.pojo.po;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Data
public class InsertDeptParam {
    @NotNull
    @Length(min = 2,max = 20,message = "部门名称长度必须在2-20之间")
    private String name;
}
